⚙️ [Maintenance]: GitHub Actions checkouts use least-privilege settings - #412
Merged
Marius Storhaug (MariusStorhaug) merged 9 commits intoAug 8, 2026
Conversation
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@9c091bb...3d3c42e) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
Remove unnecessary full-history fetches, keep credential persistence disabled for every checkout, and update the remaining checkout reference to v7.0.1. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Super-Linter needs the main branch reference for repository comparisons; retain shallow checkouts elsewhere. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Configure Super-Linter to find files without Git history and keep shallow checkouts. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Replace the broad Super-Linter invocation with markdownlint-cli2 for the generated Markdown output. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use filesystem discovery without a default branch and limit documentation linting to Markdown files. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Marius Storhaug (MariusStorhaug)
deleted the
dependabot/github_actions/github-actions-7a5a078ad4
branch
August 8, 2026 16:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Actions workflows now use the pinned
actions/checkoutv7.0.1 release consistently, avoid unnecessary full-history downloads, and prevent checkout credentials from persisting in the workspace. Generated documentation is linted with Super-Linter using filesystem discovery restricted to Markdown files.Changed: Workflow checkout security and efficiency
All checkout steps disable credential persistence because these workflows do not rely on the checkout repository for authenticated Git operations. Super-Linter uses filesystem discovery instead of Git, so full-history fetching is not required.
Changed: Generated documentation lint scope
The documentation build runs Super-Linter in local mode with filesystem discovery and limits the include pattern to generated
.mdand.markdownfiles. The default branch is not configured, avoiding Git branch comparison and keeping the lint focused on the documentation output.Technical details
actions/checkoutv7.0.1 commit3d3c42e5aac5ba805825da76410c181273ba90b1.persist-credentials: falseto all 28 checkout steps.USE_FIND_ALGORITHM: truefor the Super-Linter invocations inLinter.yml,Lint-Repository.yml, andBuild-Docs.yml.DEFAULT_BRANCHfrom the local documentation Super-Linter invocation.Build-Docs.ymldocumentation linting tooutputs/docsMarkdown files withFILTER_REGEX_INCLUDE.fetch-depth: 0settings; checkout now uses the action's shallow fetch default..github/workflows/Test-Actions.ymlreference..github/workflows/**Relevant issues (or links)